package com.shuxinxin.test.pojo;

//账号（手机号）、密码，用户名称，  敏感数据（姓名，年龄，性别）


public class User {
    String username;
    String password;
    String nickname;
    String name;
    String age;
    String sex;

    Integer admin;

    public User() {
    }

    public User(String username, String password, String nickname, String name, String age, String sex, Integer admin) {
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.admin = admin;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAdmin() {
        return admin;
    }

    public void setAdmin(Integer admin) {
        this.admin = admin;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", admin=" + admin +
                '}';
    }
}
